<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-source="user.user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-gender" class="form-control selectpicker" name="row[gender]">
                {foreach name="genderList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.gender"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Age')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-age" class="form-control" name="row[age]" type="number" value="{$row.age}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" data-toggle="city-picker" name="row[address]" type="text" value="{$row.address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Marriage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-marriage" class="form-control" name="row[marriage]" type="text" value="{$row.marriage}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Education')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-education" class="form-control" name="row[education]" type="text" value="{$row.education}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Experience')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-experience" class="form-control" name="row[experience]" type="text" value="{$row.experience}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ethnic')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ethnic" class="form-control" name="row[ethnic]" type="text" value="{$row.ethnic}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Born')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-born" class="form-control" name="row[born]" type="text" value="{$row.born}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_no" class="form-control" name="row[id_no]" type="text" value="{$row.id_no}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_front')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-id_card_front" class="form-control" size="50" name="row[id_card_front]" type="text" value="{$row.id_card_front}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-id_card_front" class="btn btn-danger plupload" data-input-id="c-id_card_front" data-multiple="false" data-preview-id="p-id_card_front"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-id_card_front" class="btn btn-primary fachoose" data-input-id="c-id_card_front" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-id_card_front"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-id_card_front"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_back')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-id_card_back" class="form-control" size="50" name="row[id_card_back]" type="text" value="{$row.id_card_back}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-id_card_back" class="btn btn-danger plupload" data-input-id="c-id_card_back" data-multiple="false" data-preview-id="p-id_card_back"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-id_card_back" class="btn btn-primary fachoose" data-input-id="c-id_card_back" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-id_card_back"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-id_card_back"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hold_id_card')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-hold_id_card" class="form-control" size="50" name="row[hold_id_card]" type="text" value="{$row.hold_id_card}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-hold_id_card" class="btn btn-danger plupload" data-input-id="c-hold_id_card" data-multiple="false" data-preview-id="p-hold_id_card"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-hold_id_card" class="btn btn-primary fachoose" data-input-id="c-hold_id_card" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-hold_id_card"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-hold_id_card"></ul>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('License')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-license" class="form-control" size="50" name="row[license]" type="text" value="{$row.license}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-license" class="btn btn-danger plupload" data-input-id="c-license" data-multiple="true" data-preview-id="p-license"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-license" class="btn btn-primary fachoose" data-input-id="c-license" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-license"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-license"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Intro')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-intro" class="form-control" name="row[intro]" type="text" value="{$row.intro}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pzy_status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                    <label for="row[pzy_status]-{$key}"><input id="row[pzy_status]-{$key}" name="row[pzy_status]" type="radio" value="{$key}" {in name="key" value="$row.pzy_status"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phy_status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                    <label for="row[phy_status]-{$key}"><input id="row[phy_status]-{$key}" name="row[phy_status]" type="radio" value="{$key}" {in name="key" value="$row.phy_status"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refuse_msg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refuse_msg" class="form-control" name="row[refuse_msg]" type="text" value="{$row.refuse_msg}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}" disabled>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
